<ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
    <div class="touxiang">
        <img src="http://www.wenkucms.com/data/upload/avatar/default_160.jpg?v=1667037569">
        <h1>{$uid|getusername}</h1>
        <span>{$uid|getrolename}</span>
    </div>

    <li {if $actionname =='index'} class="layui-nav-item layui-this"{else/} class="layui-nav-item" {/if}>
    <a href="{:url('ucenter/index')}"><i class="layui-icon"></i>个人资料</a></li>
    <li {if $actionname =='mydoclist'} class="layui-nav-item layui-this"{else/} class="layui-nav-item" {/if}>
    <a href="{:url('ucenter/mydoclist')}"><i class="layui-icon"></i>我的文档</a></li>
    <li {if $actionname =='xhdoclist'} class="layui-nav-item layui-this"{else/} class="layui-nav-item" {/if}>
    <a href="{:url('ucenter/xhdoclist')}"><i class="layui-icon"></i>我的收藏</a></li>
    <li {if $actionname =='downdoclist'} class="layui-nav-item layui-this"{else/} class="layui-nav-item" {/if}>
    <a href="{:url('ucenter/downdoclist')}"><i class="layui-icon"></i>我的下载</a></li>
    <li {if $actionname =='usermail'} class="layui-nav-item layui-this"{else/} class="layui-nav-item" {/if}>
    <a href="{:url('ucenter/usermail')}"><i class="layui-icon"></i>我的消息</a></li>
    <li {if $actionname =='tongji'} class="layui-nav-item layui-this"{else/} class="layui-nav-item" {/if}>
    <a href="{:url('ucenter/tongji')}"><i class="layui-icon"></i>积分明细</a></li>
    <span class="layui-nav-bar" style="top: 338.5px; height: 0px; opacity: 0;"></span></ul>